package com.company;

public class Employee {

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    private String name;
    private int  month;

    // 获取额外的工资
    // 如果month和员工生日月份相同，
    // 则返回100，否则返回0
    public int  getSalary(int month){
        if (this.month == month){
            return  100;
        }else{
            return 0;
        }
    }
}
